<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>测试入口</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="stylesheet" href="${data:dependencies.cmp}/css/cmp-listView.css${data:buildversion}">
		<link rel="stylesheet" href="<s3:data name='dependencies.biz'/><s3:data name='version'/>/css/biz.css${data:buildversion}">
	</head>

    <body class="fullscreen" style="overflow: hidden;">

    <header class="nav-bar nav-header cmp-after-line">
		<span class="icon see-icon-v5-common-arrow-back   cmp-pull-left" id="backBtn"></span>
        <h1 class="title" id="appTitle">测试入口</h1>
    </header>


    <div class="cmp-content">
			<div class="cmp-control-content cmp-active" style="top:100px;">
				<div class='cmp_comment_item'>
					<textarea id='textarea1'   class='testAutoHeight' style='width: 100%;height:100px;'>{"codeType":"cap4url","content":"/1.0/{\"moduleId\":\"4448581277019425144\",\"formId\":\"15190747318771712\",\"dataId\":\"9017803367241200750\",\"formType\":\"1\",\"version\":\"4.0\"}"}</textarea>
					<textarea id='textarea2'   class='testAutoHeight' style='width: 100%;height:100px;'>{"codeType":"cap4url","content":"/1.0/{\"moduleId\":\"4647253753671832348\",\"formId\":\"-4655662956217613429\",\"dataId\":\"4647253753671832348\",\"formType\":\"6\",\"version\":\"4.0\"}"}</textarea>
				</div>
				<div class='cmp_comment_item_btn'>
					<button type='button' id="button" class='cmp-btn cmp-btn-primary2 cmp-btn-radius100 cmp-btn-plr20'>跳转</button>
				</div>
			</div>
		</div>

	</body>

		<script src="${data:dependencies.cmp}/js/cmp-i18n.js${data:buildversion}"></script>
	 	<s3:data name='cordova' />
		<s3:import></s3:import>
        <script src="${data:dependencies.cmp}/js/cmp-app.js${data:buildversion}"></script>
        <script src="${data:dependencies.cmp}/js/cmp-imgCache.js${data:buildversion}"></script>
        <script src="${data:dependencies.cmp}/js/cmp-listView.js${data:buildversion}"></script>
        



	<script type="text/javascript" src="<s3:data name='dependencies.capqrcode'/>/capqrcode_m_api.s3js${data:buildversion}"></script>
	<script type="text/javascript" src="<s3:data name='dependencies.collaboration'/>/collaboration_m_api.s3js${data:buildversion}" ></script>
  <script>
    cmp.ready(function(){
      document.querySelector("#button").addEventListener("tap",function () {
        capQRCodeApi.openApp("","",JSON.parse(document.querySelector("#textarea1").value));
      });
    });
  </script>
</html>
